import request from '@/utils/request'

export const getIndexInfo = () => {
    return request.get('/web/index/getIndexInfo')
}

export const getBannerList = () => {
    return request.get('/web/index/getBannerList')
}

export const searchBook = (keyWord, page, size) => {
    return request.get('/web/index/searchNovel?keyWord=' + keyWord + '&page=' + page + '&size=' + size)
}
